package com.heatup.apt.model.order;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 订单明细表
 *
 */
@TableName("order_detail")
public class OrderDetail implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 订单id */
	@TableField(value = "order_id")
	private Integer orderId;

	/** 服务id */
	@TableField(value = "service_id")
	private Integer serviceId;

	/** 门店id */
	@TableField(value = "store_id")
	private Integer storeId;

	/** 到店时间 */
	@TableField(value = "start_time")
	private Date startTime;

	/** 时长(分钟) */
	private Integer duration;

	/** 人数 */
	@TableField(value = "person_count")
	private Integer personCount;

	/** 课次 */
	@TableField(value = "course_count")
	private Integer courseCount;

	/** 排队编号 */
	@TableField(value = "wait_number")
	private Integer waitNumber;
	
	/** 课程属性，主要用于私教 */
	@TableField(value = "course_attr")
	private String courseAttr;
	
	/**  教练Id*/
	@TableField(value = "coach_id")
	private Integer coachId;
	
	/**  教练Id*/
	@TableField(value = "meal_count")
	private Integer mealCount;
	
	/**  教练Id*/
	@TableField(value = "meal_coupon_count")
	private Integer mealCouponCount;

	/**配送方式 1到店  2配送**/
	@TableField(value = "send_type")
	private Integer sendType;
	
	/**配送方式 1到店  2配送**/
	@TableField(value = "user_addr_id")
	private Integer userAddrId;

	/**用餐配送结束时间**/
	@TableField(value = "end_time")
	private Date endTime;
	
	@TableField(value = "eat_time_type")
	private Integer eatTimeType;
	
	/** 收银员 这里存的是用户的Id */
	@TableField(value = "cashier_id")
	private Integer cashierId;

	public Integer getEatTimeType() {
		return eatTimeType;
	}

	public void setEatTimeType(Integer eatTimeType) {
		this.eatTimeType = eatTimeType;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getMealCount() {
		return mealCount;
	}

	public void setMealCount(Integer mealCount) {
		this.mealCount = mealCount;
	}

	public Integer getMealCouponCount() {
		return mealCouponCount;
	}

	public void setMealCouponCount(Integer mealCouponCount) {
		this.mealCouponCount = mealCouponCount;
	}

	public Integer getSendType() {
		return sendType;
	}

	public void setSendType(Integer sendType) {
		this.sendType = sendType;
	}

	public Integer getUserAddrId() {
		return userAddrId;
	}

	public void setUserAddrId(Integer userAddrId) {
		this.userAddrId = userAddrId;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getServiceId() {
		return this.serviceId;
	}

	public void setServiceId(Integer serviceId) {
		this.serviceId = serviceId;
	}

	public Integer getStoreId() {
		return this.storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Integer getDuration() {
		return this.duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public Integer getPersonCount() {
		return this.personCount;
	}

	public void setPersonCount(Integer personCount) {
		this.personCount = personCount;
	}

	public Integer getCourseCount() {
		return this.courseCount;
	}

	public void setCourseCount(Integer courseCount) {
		this.courseCount = courseCount;
	}

	public Integer getWaitNumber() {
		return this.waitNumber;
	}

	public void setWaitNumber(Integer waitNumber) {
		this.waitNumber = waitNumber;
	}

	public String getCourseAttr() {
		return courseAttr;
	}

	public void setCourseAttr(String courseAttr) {
		this.courseAttr = courseAttr;
	}

	public Integer getCoachId() {
		return coachId;
	}

	public void setCoachId(Integer coachId) {
		this.coachId = coachId;
	}

	public Integer getCashierId() {
		return cashierId;
	}

	public void setCashierId(Integer cashierId) {
		this.cashierId = cashierId;
	}

	
	
	
	

}
